//
//  MAPopViewCell.m
//  meiang_edu
//
//  Created by hfcb on 2018/8/5.
//  Copyright © 2018年 com.meiang.meiang_edu. All rights reserved.
//

#import "MAPopViewCell.h"

#define PopViewCell @"PopViewCell"

@interface MAPopViewCell ()

@end


@implementation MAPopViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] lastObject];
    }
    return self;
}

+ (instancetype)cellWithTableView:(UITableView *)tableView {
    
    MAPopViewCell *cell = [tableView dequeueReusableCellWithIdentifier:PopViewCell];
    if (cell == nil) {
        cell = [[MAPopViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:PopViewCell];
    }
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;
}
@end
